package com.yanyuan.snio.demo;

import com.yanyuan.snio.part.NioP4Channel;

import java.io.IOException;

/**
 * @author: yanyuan
 * @Date: 2021/3/4 14:08
 * @Description:
 */
public class NioPart4ChannelDemo {

    public static void main(String[] args) throws IOException {
        NioP4Channel nioP4Channel = new NioP4Channel();
        nioP4Channel.copyFileByGetChannel();

        nioP4Channel.copyFileByOpen();

        nioP4Channel.copyFileByChannel();

    }
}
